package com.infore.airsupervise.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @features: 移动执法 任务实体类
 * @author: WuTao
 * @date: 2017/4/8 16:41
 */
public class MissionE extends BaseEntity  {

    /**
     * psonName : 张春华
     * missionType : 环境信访
     * issueTime : 2017-04-06 00:00:00
     * handlePsonName : 超级用户
     * stationName : 杏坛
     * id : 8
     * endTime : 2017-04-07 00:00:00
     * missionNum : wk007
     * title : sss
     */

    private String psonName;
    private String missionType;
    private String issueTime;
    private String handlePsonName;
    private String handlePsonId ;
    private String stationName;
    private String id;
    private String lastTime;
    private String missionNum;
    private String title;
    private int state;
    private String mn;
    private String discrib;
    private int isApproved;
    private String approvePson;
    private List<String> voice;
    private List<String> file;
    private String leaderId;
    private int missionStatus;
    private List<Detail> other;
    private String leaderName ;
    private String approvePsonName;

    public String getApprovePsonName() {
        return approvePsonName;
    }

    public void setApprovePsonName(String approvePsonName) {
        this.approvePsonName = approvePsonName;
    }

    public String getLeaderName() {
        return leaderName;
    }

    public void setLeaderName(String leaderName) {
        this.leaderName = leaderName;
    }

    public List<Detail> getOther() {
        return other;
    }

    public void setOther(List<Detail> other) {
        this.other = other;
    }

    public int getMissionStatus() {
        return missionStatus;
    }

    public void setMissionStatus(int missionStatus) {
        this.missionStatus = missionStatus;
    }

    public String getApprovePson() {
        return approvePson;
    }

    public void setApprovePson(String approvePson) {
        this.approvePson = approvePson;
    }

    public List<String> getFile() {
        return file;
    }

    public void setFile(List<String> file) {
        this.file = file;
    }

    public int getIsApproved() {
        return isApproved;
    }

    public void setIsApproved(int isApproved) {
        this.isApproved = isApproved;
    }

    public String getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(String leaderId) {
        this.leaderId = leaderId;
    }

    public List<String> getVoice() {
        return voice;
    }

    public void setVoice(List<String> voice) {
        this.voice = voice;
    }

    public String getHandlePsonId() {
        return handlePsonId;
    }

    public void setHandlePsonId(String handlePsonId) {
        this.handlePsonId = handlePsonId;
    }

    public String getDiscrib() {
        return discrib;
    }

    public void setDiscrib(String discrib) {
        this.discrib = discrib;
    }

    public String getMn() {
        return mn;
    }

    public void setMn(String mn) {
        this.mn = mn;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getPsonName() {
        return psonName;
    }

    public void setPsonName(String psonName) {
        this.psonName = psonName;
    }

    public String getMissionType() {
        return missionType;
    }

    public void setMissionType(String missionType) {
        this.missionType = missionType;
    }

    public String getIssueTime() {
        return issueTime;
    }

    public void setIssueTime(String issueTime) {
        this.issueTime = issueTime;
    }

    public String getHandlePsonName() {
        return handlePsonName;
    }

    public void setHandlePsonName(String handlePsonName) {
        this.handlePsonName = handlePsonName;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLastTime() {
        return lastTime;
    }

    public void setLastTime(String lastTime) {
        this.lastTime = lastTime;
    }

    public String getMissionNum() {
        return missionNum;
    }

    public void setMissionNum(String missionNum) {
        this.missionNum = missionNum;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public static class Detail implements Serializable{
        private String id;
        private String name;

        public Detail(String name, String id) {
            this.name = name;
            this.id = id;
        }

        public Detail() {
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    /**
     * 任务流程
     */

    public static class MissionProcess{
        private Detail pson;
        private String time;
        private int status;
        private String describ;

        public MissionProcess() {
        }

        public MissionProcess(String discrib, String time, int status, Detail pson) {
            this.describ = discrib;
            this.time = time;
            this.status = status;
            this.pson = pson;
        }

        public String getDescrib() {
            return describ;
        }

        public void setDescrib(String describ) {
            this.describ = describ;
        }

        public Detail getPson() {
            return pson;
        }

        public void setPson(Detail pson) {
            this.pson = pson;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }
    }
}
